-
Notifications
You must be signed in to change notification settings - Fork 979
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added support for config_data #2195
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello! I'll be taking a look at this PR in the coming weeks, could you provide a test for this new field in the provider? or a terraform config that will save the time to review this PR thoroughly. Thank you in advance 👍🏼
@eduanb pinging to be able to get a test config for this. |
kubernetes/provider.go
Outdated
Optional: true, | ||
Sensitive: true, | ||
DefaultFunc: schema.EnvDefaultFunc("KUBE_CONFIG_DATA", nil), | ||
Description: "Raw kube config data for the kubernetes provider", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
initially when running this locally the provider would fail to build due to the descriptions not being the same between kubernetes/provider.go
and manifest/provider_config.go
After making some adjustments as well removing ConflictsWith
, I was able to produce working applies where i used the local
provider to test the new field.
A test would be great to include, we'll also want to include this in the kubernetes documentation and finally a changlog generation. Let me know if help is needed to get this PR in a mergable state.
Description
This PR allows you to send in the raw kubeconfig data without first creating a temp file.
Closes #1735
Note: I have very little Go experience, so please let me know if I need to change things. Would greatly appreciate it if someone could help with writing a test for this.
Acceptance tests
Output from acceptance testing:
Release Note
Release note for CHANGELOG:
References
Community Note